Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal filterWidth As Integer, _ ByVal filterHeight As Integer, _ ByVal centerPoint As Point, _ ByVal divisor As Integer, _ ByVal offset As Integer, _ ByVal type As UserFilterCommandType, _ ByVal matrix() As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public UserFilterCommand( int filterWidth, int filterHeight, Point centerPoint, int divisor, int offset, UserFilterCommandType type, int[] matrix ) |
C++/CLI | |
---|---|
public: UserFilterCommand( int filterWidth, int filterHeight, Point centerPoint, int divisor, int offset, UserFilterCommandType type, array<int>^ matrix ) |
Parameters
- filterWidth
- Number of columns in the user-defined array (mask). This parameter only accepts positive values.
- filterHeight
- Number of rows in the user-defined array (mask). This parameter only accepts positive values.
- centerPoint
- Any two-dimensional position of the matrix array, to be used as the matrix (mask)center.
- divisor
- Value used to divide the final result of the output. This must be a non-zero value. If you want to use floating point values for the matrix elements and the divisor, multiply the matrix elements and the divisor with the same value (for example, 10, 100, 1000). This parameter only accepts positive values.
- offset
- Value used to offset the final result of the output.
- type
- Flag that indicates the type of operation.
- matrix
- Array of (filterWidth * filterHeight) integers containing the user-defined matrix (mask). The elements are stored in row order (first row, second row, etc).
For an example, refer to UserFilterCommand.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6